var moduleProduct = {
  state: {
    userInfo: [
      { id: 1, name: '农', sex: 0 },
      { id: 1, name: '夫', sex: 0 },
      { id: 1, name: '山', sex: 1 },
      { id: 1, name: '泉', sex: 1 },
    ]
  },
  getters: {
    // todoDone:state=>{
    //   return state.userInfo.filter(item=>item.sex===0)
    // },
    // todoDoneCount:(state,getters)=>{
    //   return getters.todoDone.length
    // }
  },
  mutations: {

  }
}
export default moduleProduct